Skip to content

Add Dotty error messages post #488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2016

Conversation

felixmulder
Copy link
Contributor

Hey there!

We'd like to add this post on dotty error messages to the blog.

Cheers,
Felix

@felixmulder
Copy link
Contributor Author

ping: @SethTisue


It doesn't really make sense to put this in a `try`-block for two reasons:

1. It doesn't throw an exception
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is irrelevant to the present discussion. I suggest you replace 1 + 2 by foo(), and let the reader figure out that foo() might throw an exception.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright!


This is helpful, but it has a couple of drawbacks:

1. If we have a bazillion errors, it will be hard to read
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that really relevant, here?

Copy link
Contributor Author

@felixmulder felixmulder Oct 14, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - the new errors have division between errors so you can see where one ends and another begins.

2. Read the howto on error messages
3. Choose an error message you want to help with and post a comment saying
which one(s)
4. Get hacking!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 - Submit a PR

?

@felixmulder felixmulder force-pushed the topic/post-dotty-errors branch from 93efc2e to 3ae06c7 Compare October 14, 2016 17:05
@heathermiller
Copy link
Member

👏 Can I merge this now?

@heathermiller
Copy link
Member

Well OK, I'm doing it :)

@heathermiller heathermiller merged commit 9d63fd4 into scala:master Oct 14, 2016
@SethTisue
Copy link
Member

ping: @SethTisue

what's the equivalent of "the squeaky wheel gets the grease", but for the person who oils the wheels? "the squeaky wheel only squeaks when the guy with the oil can walks by"?

@felixmulder felixmulder deleted the topic/post-dotty-errors branch October 14, 2016 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants